package Thread.thread;

/**
 * @author 23050
 * @version 1.0
 * @description: TODO
 * @date 2024/2/29 21:40
 */
public class MyRunnable implements Runnable{
    @Override
    public void run() {
        System.out.println("实现Runnable接口");
    }

    public static void main(String[] args) {
        MyRunnable myRunnable = new MyRunnable();
        Thread t1 = new Thread(myRunnable);
        Thread t2 = new Thread(myRunnable);

        t1.start();
        t2.start();

    }

}
